package com.feicheng.iou.mapper;

import com.feicheng.iou.entity.Permission;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.feicheng.iou.pojo.login.PermissionSelfJoinPOJO;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author tianchunlei
 * @since 2021-06-28
 */
public interface PermissionMapper extends BaseMapper<Permission> {
    /**
     * @Author wuweinan
     * @Description //根据权限Id集合查询权限集合
     * @Date 2021/7/28 11:41
     * @Param permissionIds 封装权限的ID集合
     * @return  List<PermissionSelfJoinPOJO>
     */
    List<PermissionSelfJoinPOJO> selectSelfJoinPermission(List<Integer> permissionIds);

}
